package com.bytedance.article.b.a;

import android.text.TextUtils;
import android.util.Log;
import com.bytedance.article.b.b.DependProvider;
import com.bytedance.article.b.g;

public final class o implements g {
    private static DependProvider a;
    private g b;

    static {
        o.a = new p();
    }

    public o() {

    }

    public static o a() {
        return (o) o.a.getInstance();
    }

    public final void b() {
        if(this.b == null && !TextUtils.isEmpty("com.ss.android.dex.party.renderscript.RendScriptDependAdapter")) {
            try {
                Object v0_1 = Class.forName("com.ss.android.dex.party.renderscript.RendScriptDependAdapter").newInstance();
                if(!(v0_1 instanceof g)) {
                    return;
                }

                this.b = ((g)v0_1);
            }
            catch(Throwable v0) {
                Log.d("DexParty", "load RenderScriptDependManager exception: " + v0);
            }
        }
    }
}

